package com.wei.web.demo.user.config;

import com.wei.web.demo.user.utils.DemoUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ServiceConfiguration {
    @Bean
    public DemoUtil demoUtil() {
        DemoUtil demoUtil = new DemoUtil();
        demoUtil.setConfig("testConfig");
        return demoUtil;
    }
}
